<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/base.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/form.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/style.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/main.css" />
        <?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>

        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>

    <body>

        <div id="page" class="full-width">
            <div id="page-inner" class="full-width">

                <!-- Header -->
                <div id="header-wrapper" class="full-width">
                    <div id="header-wrapper-inner" class="full-width">
                        <div style="line-height: 56px; padding: 0 20px">
                            <font color="white" style="font-size: 20px; font-weight: 900"><?php echo SITE_NAME; ?> System Management</font>
                            <div style="float: right; color: white;">
                                <img src="<?php echo Util::themeUrl() ?>/images/lock.png" />
                        </div>
                        </div>
                    </div>
                </div>
				<?php $this->widget('application.modules.admin.components.AdminMenu'); ?>
                <div id="body-wrapper">
                    <div id="body-wrapper-inner">
                        <?php echo $content; ?>
                    </div>
                </div>

                <!-- Footer -->
                <div id="footer-wrapper" class="full-width clear">
                    <div id="footer-inner">
                        Copyright &copy; 2011, designed by <?php echo CHtml::link('ES-Websoft', 'http://eswebsoft.com', array('target' => 'blank')); ?>
                    </div>
                </div>

            </div>
        </div>
    </body>
</html>